package com.xing.reggie.dto;

import com.xing.reggie.entity.Dish;
import com.xing.reggie.entity.DishFlavor;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;

/**
 * Dto 数据传输对象，用于前端与后端数据交互
 */
@Data
public class DishDto extends Dish {
    //前端得菜品口味
    private List<DishFlavor> flavors = new ArrayList<>();

    private String categoryName;

    private Integer copies;
}
